import Nav from "./Nav";
import List from "./List";
import Pagination from "./Pagination";

const limit = 5;
function ListView({data,allData}) {
    return (
        <>
            <h1>列表页视图</h1>
            <Nav />
            <List data={data} allData={allData} limit={limit} />
            <Pagination data={data} allData={allData} limit={limit} />
        </>
    )
}

export default ListView